<%--
  Created by IntelliJ IDEA.
  User: dell
  Date: 2019/10/20
  Time: 20:51
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@page isELIgnored="false" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=gbk" />
    <title>后台管理 - 易买网</title>
    <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/css/style.css" />
    <script type="text/javascript" src="${pageContext.request.contextPath}/scripts/function-manage.js"></script>
</head>
<body>
<div id="header" class="wrap">
    <div id="logo"><img src="../images/logo.gif" /></div>
    <div class="help"><a href="../front/index.html">返回前台页面</a></div>
    <div class="navbar">
        <ul class="clearfix">
            <li><a href="index.html">首页</a></li>
            <li><a href="user.html">用户</a></li>
            <li><a href="product.html">商品</a></li>
            <li class="current"><a href="order.html">订单</a></li>
            <li><a href="guestbook.html">留言</a></li>
            <li><a href="news.html">新闻</a></li>
        </ul>
    </div>
</div>
<div id="childNav">
    <div class="welcome wrap">
        管理员pillys您好，今天是2012-12-21，欢迎回到管理后台。
    </div>
</div>
<div id="position" class="wrap">
    您现在的位置：<a href="index.html">易买网</a> &gt; 管理后台
</div>
<div id="main" class="wrap">
    <%@include file="common/lefter.jsp"%>
    <div class="main">
        <h2>订单管理>>查询订单</h2>
        <div class="manage">
            <div class="search">
                <form method="post" action="${pageContext.request.contextPath}/order/select">
                    订单号：<input type="text" class="text" name="eoId" />
                    订货人：<input type="text" class="text" name="eoUserName" />
                    <label class="ui-blue"><input type="submit" name="submit" value="查询" /></label>
                </form>
            </div>
            <div class="spacer"></div>
            <table class="list">
                <tr>
                    <th>ID</th>
                    <th>姓名</th>
                    <th>发货地址</th>
                    <th>价格</th>
                    <th>状态</th>
                    <th>操作</th>
                </tr>
                <c:forEach items="${eOrder}" var="order">
                    <tr>
                        <td class="first w4 c">${order.eoId}</td>
                        <td class="w1 c">${order.eoUserName}</td>
                        <td>${order.eoUserAddress}</td>
                        <td class="w1 c">${order.eoCost}</td>
                        <td class="w1 c">
                            <c:if test="${order.eoStatus==1}">待审核</c:if>
                            <c:if test="${order.eoStatus==2}">审核通过</c:if>
                            <c:if test="${order.eoStatus==3}">配货</c:if>
                            <c:if test="${order.eoStatus==4}">发货</c:if>
                            <c:if test="${order.eoStatus==5}">收货确认</c:if>
                        </td>
                        <td class="w1 c"><a href="${pageContext.request.contextPath}/order/edit/${order.eoId}">修改</a>
                            <a href="javascript:Delete('${pageContext.request.contextPath}/order/delete/${order.eoId}')">删除</a></td>
                    </tr>
                </c:forEach>
            </table>
        </div>
    </div>
    <div class="clear"></div>
</div>
<div id="footer">
    Copyright &copy; 2016 湖南软测信息技术有限公司 All Rights Reserved. 湘ICP证1001号
</div>
</body>
</html>
